package cn.autowired.exam.dao;

import cn.autowired.exam.entity.Teacher;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    /**
     *  组合条件查找教师列表
     * @param strength
     * @param honour
     * @param name
     * @param freeTime
     * @return
     */
    List<Teacher> getTeacherList(@Param("strength") String strength,
                                 @Param("honour") String honour,
                                 @Param("name") String name,
                                 @Param("freeTime") String freeTime);
}